﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Details.aspx.vb" Inherits="SingerProfile.Details" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 170px;
        }
        #TextArea1
        {
            height: 244px;
            width: 551px;
        }
        #comment_txt
        {
            height: 200px;
            width: 474px;
        }
        #Text1
        {
            height: 206px;
            width: 438px;
        }
        .style2
        {
            width: 184px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    &nbsp;<asp:Label ID="Album_Name_lbl" runat="server" Font-Bold="True" 
        Font-Size="Large" CssClass="details_lbl"  ></asp:Label>
    <br />
    <fieldset class="Event_Coming" 
        style="border-width: medium; width: 161px; vertical-align: middle; text-align: center;">
    <legend>Overall Rating</legend>
    <asp:Label ID="lbl_ratingAlbum" runat="server"></asp:Label>
    &nbsp;</fieldset>
    <br />
    <br />
    <asp:Image ID="Image1" runat="server" Height="300px" Width="300px" />
    <br />
    <asp:Label CssClass="Desc_lbl" ID="Desc_lbl" runat="server"></asp:Label>
    <br />
    <div>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:SingerProfileConStr %>" 
        ProviderName="<%$ ConnectionStrings:SingerProfileConStr.ProviderName %>" 
        
        SelectCommand="SELECT [ID], [Cover_Picture], [Album_Name], [Description], [Release_year] FROM [Albums] WHERE ([ID] = ?)">
        <SelectParameters>
            <asp:QueryStringParameter Name="ID" QueryStringField="ID" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>
    </div>
    <br />
    <br />
    <asp:Button ID="Button1" runat="server" Text="Go to list of Albums" />
    <br />
    <br />
    <fieldset style="width:300px">
    <legend> User Likes/Unlikes</legend>
                    <asp:Image ID="img_like" runat="server" Height="29px" 
                        ImageUrl="~/Pictures/LikeIcon.jpg" Width="71px" />
                    <asp:Image ID="img_unlike" runat="server" Height="54px" 
                        ImageUrl="~/Pictures/UnlikeIcon.jpg" Width="74px" />
                    <asp:Label ID="lbl_error_message" runat="server"></asp:Label>
                    <asp:RadioButtonList ID="rbl_like" runat="server" Height="26px" 
                        RepeatDirection="Horizontal" Width="67px">
                        <asp:ListItem Value="1">Like!</asp:ListItem>
                        <asp:ListItem Value="0">Unlike!</asp:ListItem>
                    </asp:RadioButtonList>
                    <asp:Button ID="btn_click" runat="server" Height="22px" Text="Click" 
                        Width="40px" />                
    </fieldset>
    <br />
    <div style="color: #008080; font-weight: bolder;">
        User Comments :
        <br />
        <br />
        <asp:Label ID="lbl_comment" runat="server" Font-Bold="True" ForeColor="Black"></asp:Label>
    </div>
    <br />
    * Please Enter all fields<br />
    <br />
    <table style="width:100%;">
        <tr>
            <td class="style1">
                User
                Name</td>
            <td>
                <asp:TextBox ID="name_txtbox" runat="server"></asp:TextBox>
    <asp:Label ID="vld_UserName" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style1">
                Comments</td>
            <td>
                <asp:TextBox ID="comment_txtbox" runat="server" Height="211px" 
                    TextMode="MultiLine" Width="453px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
                Rating</td>
            <td>
                <asp:RadioButtonList ID="rbl_AlbumRating" runat="server" 
                    RepeatDirection="Horizontal">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td class="style1">
                &nbsp;</td>
            <td>
                <asp:Button ID="submit_btn" runat="server" Text="Submit" />
            </td>
        </tr>
    </table>
</asp:Content>
